/* ==========================================================
   DRUCKEREI STYLE.CSS
========================================================== */


/* ==========================================================
   01
   SEITE
========================================================== */

.print-page {
  --print-card: rgba(18, 18, 18, 0.76);
  --print-card-strong: rgba(23, 23, 23, 0.90);
  --print-border: rgba(255, 255, 255, 0.10);
  --print-border-hover: rgba(255, 255, 255, 0.20);
  --print-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);

  position: relative;

  width: 100%;

  /*
     Platz für den festen Header.
     Genau das gleiche Prinzip wie bei der
     funktionierenden Aufkleber-Seite.
  */
  padding-top: 92px;

  overflow-x: hidden;

  background: #080808;
}



/* ==========================================================
   02
   SHELL
========================================================== */

.print-shell {
  width: 100%;

  margin: 0;

  padding-right: var(
    --site-gutter,
    clamp(28px, 5vw, 92px)
  );

  padding-left: var(
    --site-gutter,
    clamp(28px, 5vw, 92px)
  );
}



/* ==========================================================
   03
   BREADCRUMB
========================================================== */

.product-breadcrumb {
  min-height: 54px;

  display: flex;
  align-items: center;

  gap: 9px;

  background: #080808;

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.76rem;
  font-weight: 650;
}


.product-breadcrumb a {
  color: inherit;

  text-decoration: none;

  transition:
    color 0.25s ease;
}


.product-breadcrumb a:hover,
.product-breadcrumb a:focus-visible {
  color: var(--red-light);
}


.product-breadcrumb span {
  color: rgba(255, 255, 255, 0.24);
}


.product-breadcrumb strong {
  color: #ffffff;

  font-weight: 650;
}



/* ==========================================================
   04
   ALLGEMEINE SECTIONS
========================================================== */

.print-page .section {
  position: relative;

  width: 100%;

  margin: 0;

  padding:
    105px
    var(--site-gutter);

  overflow: visible;
}


.print-page .section-head {
  width: 100%;

  max-width: 900px;

  margin:
    0
    0
    54px;

  text-align: left;
}


.print-page .section-head.compact {
  max-width: none;
}


.print-page .section-head h2 {
  text-wrap: balance;
}



/* ==========================================================
   05
   HERO
========================================================== */

.druckerei-hero {
  position: relative;

  width: 100%;

  min-height: 720px;

  overflow: hidden;

  isolation: isolate;

  background: #080808;
}



/* ----------------------------------------------------------
   HINTERGRUNDBILD
---------------------------------------------------------- */

.druckerei-hero-bg {
  position: absolute;

  inset: 0;

  z-index: 0;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center 52%;

  transform: scale(1.025);

  filter:
    brightness(0.80)
    contrast(1.06)
    saturate(0.96)
    blur(0.25px);

  transition:
    transform 8s ease,
    filter 0.8s ease;
}


.druckerei-hero:hover .druckerei-hero-bg {
  transform:
    scale(1.06);

  filter:
    brightness(0.84)
    contrast(1.08)
    saturate(1)
    blur(0);
}



/* ----------------------------------------------------------
   OVERLAY
---------------------------------------------------------- */

.druckerei-hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:

    linear-gradient(
      90deg,

      rgba(5, 5, 5, 0.94) 0%,
      rgba(5, 5, 5, 0.87) 20%,
      rgba(5, 5, 5, 0.66) 42%,
      rgba(5, 5, 5, 0.34) 63%,
      rgba(5, 5, 5, 0.09) 84%,
      rgba(5, 5, 5, 0) 100%
    ),

    linear-gradient(
      180deg,

      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.04) 36%,
      rgba(0, 0, 0, 0.12) 63%,
      rgba(0, 0, 0, 0.75) 100%
    );
}



/* ----------------------------------------------------------
   HERO INNER
---------------------------------------------------------- */

.druckerei-hero-inner {
  position: relative;

  z-index: 2;

  width: 100%;

  min-height: 720px;

  margin: 0;

  padding:
    72px
    var(--site-gutter)
    30px;

  display: flex;

  flex-direction: column;
}



/* ==========================================================
   06
   HERO SERVICES
========================================================== */

.druckerei-hero-services {
  width: fit-content;

  margin:
    0
    0
    48px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 42px;

  font-size: 0.86rem;
  font-weight: 850;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


.hero-service {
  position: relative;

  color: rgba(255, 255, 255, 0.48);

  cursor: default;

  transition:
    color 0.4s ease,
    transform 0.4s ease,
    text-shadow 0.4s ease;
}


.hero-service::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -9px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background:
    var(--red-light);

  transition:
    width 0.4s ease;
}


.hero-service.active {
  color:
    var(--red-light);

  transform:
    translateY(-2px);

  text-shadow:
    0 0 20px rgba(255, 48, 70, 0.22);
}


.hero-service.active::after {
  width: 100%;
}



/* ==========================================================
   07
   HERO TEXT
========================================================== */

.druckerei-hero-content {
  width:
    min(
      720px,
      100%
    );
}


.druckerei-hero-content .eyebrow {
  margin:
    0
    0
    15px;
}


.druckerei-hero-content h1 {
  margin:
    0
    0
    34px;

  color: #ffffff;

  font-size:
    clamp(
      3.05rem,
      5vw,
      5.7rem
    );

  line-height:
    0.95;

  letter-spacing:
    -0.07em;

  text-wrap: balance;
}


.hero-word,
.hero-title-red {
  color:
    #ffffff;

  text-shadow:
    none;

  transition:
    color 0.48s ease,
    text-shadow 0.48s ease;
}


.hero-word.active,
.hero-title-red.active {
  color:
    var(--red-light);

  text-shadow:
    0 0 24px rgba(255, 48, 70, 0.24);
}


.druckerei-hero-text {
  max-width:
    650px;

  margin:
    0;

  color:
    rgba(255, 255, 255, 0.79);

  font-size:
    clamp(
      0.96rem,
      1.05vw,
      1.08rem
    );

  line-height:
    1.78;
}



/* ==========================================================
   08
   HERO FAKTEN
========================================================== */

.druckerei-hero-facts {
  width:
    min(
      920px,
      100%
    );

  margin-top:
    auto;

  padding-top:
    28px;

  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  border-top:
    1px solid rgba(255, 255, 255, 0.16);
}


.druckerei-hero-fact {
  position:
    relative;

  min-height:
    94px;

  padding:
    15px
    25px;

  display:
    grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  align-items:
    start;

  gap:
    14px;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.druckerei-hero-fact:first-child {
  padding-left:
    0;
}


.druckerei-hero-fact:not(:last-child)::after {
  content:
    "";

  position:
    absolute;

  top:
    15px;

  right:
    0;

  bottom:
    15px;

  width:
    1px;

  background:
    rgba(255, 255, 255, 0.14);
}


.hero-fact-icon {
  min-width:
    34px;

  color:
    var(--red-light);

  font-size:
    1.08rem;

  font-weight:
    900;
}


.druckerei-hero-fact strong {
  display:
    block;

  margin-bottom:
    5px;

  color:
    #ffffff;

  font-size:
    0.9rem;
}


.druckerei-hero-fact p {
  margin:
    0;

  color:
    rgba(255, 255, 255, 0.63);

  font-size:
    0.73rem;

  line-height:
    1.45;
}


.druckerei-hero-fact:hover {
  transform:
    translateY(-3px);

  background:
    linear-gradient(
      180deg,
      rgba(197, 0, 26, 0.08),
      transparent
    );
}


/* ----------------------------------------------------------
   HINTERGRUNDBILD
---------------------------------------------------------- */

.druckerei-hero-bg {
  position: absolute;

  inset: 0;

  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 52%;

  transform: scale(1.025);

  filter:
    brightness(.80)
    contrast(1.06)
    saturate(.96)
    blur(.25px);

  transition:
    transform 8s ease,
    filter .8s ease;
}


.druckerei-hero:hover .druckerei-hero-bg {
  transform: scale(1.06);

  filter:
    brightness(.84)
    contrast(1.08)
    saturate(1)
    blur(0);
}


/* ----------------------------------------------------------
   HERO OVERLAY
---------------------------------------------------------- */

.druckerei-hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:

    linear-gradient(
      90deg,
      rgba(5, 5, 5, .94) 0%,
      rgba(5, 5, 5, .87) 20%,
      rgba(5, 5, 5, .66) 42%,
      rgba(5, 5, 5, .34) 63%,
      rgba(5, 5, 5, .09) 84%,
      rgba(5, 5, 5, 0) 100%
    ),

    linear-gradient(
      180deg,
      rgba(0, 0, 0, .28) 0%,
      rgba(0, 0, 0, .04) 36%,
      rgba(0, 0, 0, .12) 63%,
      rgba(0, 0, 0, .75) 100%
    );
}


/* ----------------------------------------------------------
   HERO INNER
---------------------------------------------------------- */

.druckerei-hero-inner {
  position: relative;

  z-index: 2;

  width: 100%;
  min-height: 720px;

  margin: 0;

  padding:
    110px
    var(--site-gutter)
    24px;

  display: flex;
  flex-direction: column;
}


/* ==========================================================
   HERO SERVICES
========================================================== */

.druckerei-hero-services {
  width: fit-content;

  margin: 26px 0 48px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 42px;

  font-size: .86rem;
  font-weight: 850;

  letter-spacing: .09em;

  text-transform: uppercase;
}


.hero-service {
  position: relative;

  color: rgba(255, 255, 255, .48);

  cursor: default;

  transition:
    color .4s ease,
    transform .4s ease,
    text-shadow .4s ease;
}


.hero-service::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -9px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background: var(--red-light);

  transition:
    width .4s ease;
}


.hero-service.active {
  color: var(--red-light);

  transform: translateY(-2px);

  text-shadow:
    0 0 20px rgba(255, 48, 70, .22);
}


.hero-service.active::after {
  width: 100%;
}


/* ==========================================================
   HERO TEXT
========================================================== */

.druckerei-hero-content {
  width: min(720px, 100%);
}


.druckerei-hero-content .eyebrow {
  margin: 0 0 15px;
}


.druckerei-hero-content h1 {
  margin: 0 0 34px;

  font-size:
    clamp(
      3.05rem,
      5vw,
      5.7rem
    );

  line-height: .95;

  letter-spacing: -.07em;

  text-wrap: balance;
}


.hero-word,
.hero-title-red {
  color: var(--white);

  text-shadow: none;

  transition:
    color .48s ease,
    text-shadow .48s ease;
}


.hero-word.active,
.hero-title-red.active {
  color: var(--red-light);

  text-shadow:
    0 0 24px rgba(255, 48, 70, .24);
}


.druckerei-hero-text {
  max-width: 650px;

  margin: 0;

  color: rgba(255, 255, 255, .79);

  font-size:
    clamp(
      .96rem,
      1.05vw,
      1.08rem
    );

  line-height: 1.78;
}


/* ==========================================================
   HERO FAKTEN
========================================================== */

.druckerei-hero-facts {
  width: min(920px, 100%);

  margin-top: 52px;

  padding-top: 28px;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  border-top:
    1px solid rgba(255, 255, 255, .16);
}


.druckerei-hero-fact {
  position: relative;

  min-height: 94px;

  padding: 15px 25px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr);

  align-items: start;

  gap: 14px;

  transition:
    transform .35s ease,
    background .35s ease;
}


.druckerei-hero-fact:first-child {
  padding-left: 0;
}


.druckerei-hero-fact:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 15px;
  right: 0;
  bottom: 15px;

  width: 1px;

  background:
    rgba(255, 255, 255, .14);
}


.hero-fact-icon {
  min-width: 34px;

  color: var(--red-light);

  font-size: 1.08rem;
  font-weight: 900;
}


.druckerei-hero-fact strong {
  display: block;

  margin-bottom: 5px;

  color: var(--white);

  font-size: .9rem;
}


.druckerei-hero-fact p {
  margin: 0;

  color:
    rgba(255, 255, 255, .63);

  font-size: .73rem;

  line-height: 1.45;
}


.druckerei-hero-fact:hover {
  transform: translateY(-3px);

  background:
    linear-gradient(
      180deg,
      rgba(197, 0, 26, .08),
      transparent
    );
}

/* ==========================================================
   PRODUKTKARTEN
   ========================================================== */

.print-products-section {
  padding-top: 70px !important;
}

.print-products-section .section-head {
  width: 100%;
  max-width: none;
  margin: 0 0 54px;
  text-align: left;
}

/* Auf großen Bildschirmen ist genug Platz für eine Zeile. */
.print-products-section .section-head h2 {
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

.print-products-section .section-head > p:last-child {
  max-width: 720px;
}

.compact-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.compact-product-card {
  min-height: 600px;
  overflow: hidden;

  border-radius: 28px;
  background: var(--print-card);
  border: 1px solid var(--print-border);

  color: var(--white);
  text-decoration: none;

  display: flex;
  flex-direction: column;

  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);

  transition:
    transform .38s ease,
    border-color .38s ease,
    box-shadow .38s ease,
    background .38s ease;
}


/* Unterstützt den neuen HTML-Aufbau */

.compact-product-image {
  width: 100%;
  height: 330px;
  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.compact-product-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
}


/* Unterstützt zusätzlich den älteren HTML-Aufbau mit direktem img */

.compact-product-card > img {
  width: 100%;
  height: 330px;
  padding: 24px;
  object-fit: contain;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: transform .45s ease;
}


/* Einzelne Mockups passend skalieren */

.product-flyer .compact-product-image img,
.compact-product-card:nth-child(1) > img {
  width: 82%;
  height: 82%;
}

.product-brochure .compact-product-image img,
.compact-product-card:nth-child(2) > img {
  width: 88%;
  height: 88%;
}

.product-business-card .compact-product-image img,
.compact-product-card:nth-child(3) > img {
  width: 86%;
  height: 86%;
}

.product-poster .compact-product-image img,
.compact-product-card:nth-child(4) > img {
  width: 82%;
  height: 82%;
}

.product-sticker .compact-product-image img,
.compact-product-card:nth-child(5) > img {
  width: 88%;
  height: 88%;
}

.product-custom .compact-product-image img,
.compact-product-card:nth-child(6) > img {
  width: 88%;
  height: 88%;
}


/* Textbereich */

.compact-product-content,
.compact-product-card > div:not(.compact-product-image) {
  flex: 1;
  min-height: 250px;
  padding: 24px 24px 22px;

  display: flex;
  flex-direction: column;
}

.compact-product-card span {
  color: var(--red-light);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compact-product-card h3 {
  margin: 9px 0 10px;
  font-size: 1.43rem;
  line-height: 1.1;
}

.compact-product-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .87rem;
  line-height: 1.55;
}

.compact-product-card strong {
  margin-top: auto;
  padding-top: 22px;
  color: var(--white);
  font-size: .85rem;
  font-weight: 850;
  transition: color .3s ease;
}

.compact-product-card strong::after {
  content: " →";
  display: inline-block;
  transition: transform .3s ease;
}

.compact-product-card:hover {
  transform: translateY(-8px);
  background: rgba(28, 28, 28, .84);
  border-color: var(--print-border-hover);
  box-shadow: 0 30px 88px rgba(0, 0, 0, .40);
}

.compact-product-card:hover .compact-product-image img,
.compact-product-card:hover > img {
  transform: scale(1.04);
}

.compact-product-card:hover strong {
  color: var(--red-light);
}

.compact-product-card:hover strong::after {
  transform: translateX(5px);
}


/* ==========================================================
   WORKFLOW / WARUM WIR
   ========================================================== */

.workflow,
.print-benefits-section {
  padding-top: 100px !important;
}

.workflow .section-head,
.print-benefits-section .section-head {
  width: 100%;
  max-width: 900px;
  margin: 0 0 54px;
  text-align: left;
}

.workflow-grid,
.print-benefits-grid {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;

  margin-top: 60px;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      rgba(197, 0, 26, .06),
      rgba(255, 48, 70, .56),
      rgba(197, 0, 26, .06)
    );

  transform: translateY(-50%);
  z-index: 0;
}

.workflow-card,
.print-benefit-card {
  position: relative;
  z-index: 1;

  min-height: 310px;
  padding: 38px 30px;

  overflow: hidden;

  border-radius: 28px;
  background: rgba(18, 18, 18, .84);
  border: 1px solid rgba(255, 255, 255, .09);

  backdrop-filter: blur(18px);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .24);

  transition:
    transform .42s ease,
    border-color .42s ease,
    box-shadow .42s ease,
    background .42s ease;
}

.workflow-card::before,
.print-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(197, 0, 26, .22),
      transparent 44%
    );

  opacity: 0;
  transition: opacity .42s ease;
}

.workflow-number,
.print-benefit-card > span:first-child {
  position: absolute;
  top: -34px;
  right: -14px;
  z-index: 0;

  color: rgba(255, 255, 255, .045);

  font-size: clamp(6rem, 8vw, 8.5rem);
  font-weight: 900;
  line-height: 1;

  user-select: none;

  transition:
    color .42s ease,
    transform .42s ease;
}

.workflow-topline {
  position: relative;
  z-index: 2;

  width: 42px;
  height: 4px;

  margin-bottom: 34px;

  border-radius: 999px;
  background: var(--red-light);

  transition: width .42s ease;
}

/* Fallback-Linie für alte print-benefit-card */

.print-benefit-card h3::before {
  content: "";
  display: block;

  width: 42px;
  height: 4px;

  margin-bottom: 34px;

  border-radius: 999px;
  background: var(--red-light);

  transition: width .42s ease;
}

.workflow-card h3,
.print-benefit-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 16px;

  font-size: 1.38rem;
  line-height: 1.13;
}

.workflow-card p,
.print-benefit-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: rgba(255, 255, 255, .70);

  font-size: .88rem;
  line-height: 1.65;
}

.workflow-card:hover,
.print-benefit-card:hover {
  transform: translateY(-9px);

  background: rgba(25, 25, 25, .94);
  border-color: rgba(255, 48, 70, .34);

  box-shadow:
    0 30px 86px rgba(0, 0, 0, .38),
    0 0 34px rgba(197, 0, 26, .08);
}

.workflow-card:hover::before,
.print-benefit-card:hover::before {
  opacity: 1;
}

.workflow-card:hover .workflow-number,
.print-benefit-card:hover > span:first-child {
  color: rgba(197, 0, 26, .22);
  transform: scale(1.06);
}

.workflow-card:hover .workflow-topline,
.print-benefit-card:hover h3::before {
  width: 94px;
}


/* ==========================================================
   PAPIEROBERFLÄCHEN
   ========================================================== */

.paper-showcase-section {
  padding-top: 105px !important;
}

.paper-showcase-list {
  display: grid;
  gap: 28px;
}

.paper-showcase-item {
  min-height: 300px;

  display: grid;

grid-template-columns:
  minmax(280px, 0.72fr)
  minmax(0, 1.28fr);

  gap: 30px;

  align-items: stretch;

  padding: 18px;

  overflow: hidden;

  border-radius: 30px;

  background: var(--print-card);

  border:
    1px solid var(--print-border);

  transition:
    transform .38s ease,
    border-color .38s ease,
    box-shadow .38s ease;
}

.paper-showcase-item.is-reversed {
  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(280px, 0.72fr);
}

.paper-showcase-item.is-reversed .paper-showcase-image {
  order: 2;
}

.paper-showcase-item.is-reversed .paper-showcase-content {
  order: 1;
}

.paper-showcase-image {
  width: 100%;

  min-height: 340px;
  max-height: 390px;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 24px;

  background:
    rgba(255, 255, 255, .035);
}

.paper-showcase-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  transition:
    transform .5s ease;
}

.paper-showcase-content {
  padding: 24px 30px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.paper-showcase-content > span {
  color: var(--red-light);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.paper-kicker {
  margin: 16px 0 6px;
  color: var(--red-light);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.paper-showcase-content h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

.paper-showcase-content p:last-child {
  max-width: 540px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.72;
}

.paper-showcase-item:hover {
  transform: translateY(-7px);
  border-color: var(--print-border-hover);
  box-shadow: var(--print-shadow);
}

.paper-showcase-item:hover img {
  transform: scale(1.02);
}


/* ==========================================================
   FORMATE
   ========================================================== */

.format-grid-section {
  padding-top: 105px !important;
}

.format-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.format-overview-card {
  min-height: 230px;
  padding: 22px 16px;

  border-radius: 24px;
  background: var(--print-card);
  border: 1px solid var(--print-border);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  text-align: center;

  transition:
    transform .35s ease,
    border-color .35s ease,
    background .35s ease;
}

.format-paper {
  margin-bottom: 18px;

  border-radius: 8px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .97),
      rgba(205, 205, 205, .76)
    );

  box-shadow:
    0 18px 34px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .70);

  transition: transform .35s ease;
}

.format-a10 { width: 32px;  height: 46px; }
.format-a9  { width: 38px;  height: 54px; }
.format-a8  { width: 46px;  height: 66px; }
.format-a7  { width: 54px;  height: 76px; }
.format-a6  { width: 64px;  height: 90px; }
.format-a5  { width: 76px;  height: 108px; }
.format-a4  { width: 90px;  height: 128px; }
.format-a3  { width: 104px; height: 148px; }
.format-a2  { width: 118px; height: 168px; }
.format-a1  { width: 132px; height: 188px; }

.format-overview-card h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.format-overview-card p {
  margin: 0;
  color: rgba(255, 255, 255, .60);
  font-size: .78rem;
}

.format-overview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 0, 26, .46);
  background: rgba(26, 26, 26, .84);
}

.format-overview-card:hover .format-paper {
  transform: translateY(-5px) rotate(-2deg);
}

/* ==========================================================
   PAPIERGRAMMATUREN – CSS-PAPIERBLÖCKE
========================================================== */

.grammage-visual-section {
  padding-top: 105px !important;
}

.grammage-visual-section .section-head {
  max-width: 820px;
}


/* =========================
   KARTENRASTER
========================= */

.grammage-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}


/* =========================
   EINZELNE KARTE
========================= */

.grammage-product-card {
  position: relative;

  min-height: 390px;
  padding: 24px;

  overflow: hidden;

  border-radius: 28px;
  border: 1px solid var(--print-border);

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(255, 48, 70, .075),
      transparent 38%
    ),
    var(--print-card);

  display: flex;
  flex-direction: column;

  box-shadow:
    0 18px 58px rgba(0, 0, 0, .22);

  transition:
    transform .38s ease,
    border-color .38s ease,
    background .38s ease,
    box-shadow .38s ease;
}


/* dezenter roter Lichtschein */

.grammage-product-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(197, 0, 26, .13),
      transparent 44%
    );

  opacity: 0;
  pointer-events: none;

  transition: opacity .38s ease;
}


/* =========================
   BILDBEREICH
========================= */

.grammage-product-visual {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 190px;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 900px;
}


/* Schatten unter dem Papierblock */

.grammage-product-visual::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 20px;

  width: 68%;
  height: 22px;

  border-radius: 50%;

  background: rgba(0, 0, 0, .46);
  filter: blur(13px);

  transform: translateX(-50%);

  transition:
    width .38s ease,
    opacity .38s ease;
}


/* ==========================================================
   3D PAPIERBLOCK
========================================================== */

.paper-block{

    --height:22px;

    position:relative;

    width:150px;
    height:120px;

    transform-style:preserve-3d;

    transform:
        rotateX(58deg)
        rotateZ(-10deg);

    transition:.45s ease;

}


/* =========================
   OBERSEITE
========================= */

.paper-top{

    position:absolute;

    inset:0;

    border-radius:6px;

    background:

        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7f7f7 45%,
            #ececec 100%
        );

    box-shadow:

        inset 0 1px rgba(255,255,255,.95),

        inset -12px -12px 18px rgba(0,0,0,.04),

        12px 20px 34px rgba(0,0,0,.25);

}


/* feine Papierstruktur */

.paper-top::after{

    content:"";

    position:absolute;

    inset:0;

    opacity:.18;

    background:

        repeating-linear-gradient(
            90deg,

            transparent 0,

            transparent 4px,

            rgba(0,0,0,.015) 5px
        );

}


/* =========================
   VORDERKANTE
========================= */

.paper-front{

    position:absolute;

    left:0;

    bottom:calc(var(--height) * -1);

    width:100%;

    height:var(--height);

    border-radius:0 0 5px 5px;

    background:

        repeating-linear-gradient(

            to bottom,

            #dadada 0,

            #dadada 2px,

            #ffffff 3px,

            #f3f3f3 4px

        );

    transform-origin:top;

    transform:rotateX(-90deg);

}


/* =========================
   SEITENKANTE
========================= */

.paper-side{

    position:absolute;

    top:0;

    right:calc(var(--height) * -1);

    width:var(--height);

    height:100%;

    background:

        linear-gradient(

            to right,

            #d9d9d9,

            #f8f8f8

        );

    transform-origin:left;

    transform:rotateY(90deg);

}


/* =========================
   UNTERSCHIEDLICHE STÄRKEN
========================= */
.paper-block-90{
    --height:8px;
}

.paper-block-150{
    --height:14px;
}

.paper-block-170{
    --height:18px;
}

.paper-block-200{
    --height:24px;
}

.paper-block-250{
    --height:32px;
}

.paper-block-300{
    --height:40px;
}

.paper-block-350{
    --height:50px;
}


/* =========================
   TEXTBEREICH
========================= */

.grammage-product-content {
  position: relative;
  z-index: 2;

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* Grammatur */

.grammage-value {
  display: block;

  margin-bottom: 9px;

  color: var(--red-light);

  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
}


/* Überschrift */

.grammage-product-content h3 {
  margin: 0 0 13px;

  color: var(--white);

  font-size: 1.08rem;
  line-height: 1.2;
}


/* Beschreibung */

.grammage-product-content p {
  margin: 0;

  color: rgba(255, 255, 255, .68);

  font-size: .86rem;
  line-height: 1.6;
}


/* =========================
   HOVER
========================= */

.grammage-product-card:hover {
  transform: translateY(-8px);

  border-color: rgba(255, 48, 70, .34);

  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(197, 0, 26, .18),
      transparent 42%
    ),
    rgba(24, 24, 24, .93);

  box-shadow:
    0 30px 82px rgba(0, 0, 0, .34),
    0 0 30px rgba(197, 0, 26, .07);
}

.grammage-product-card:hover::before {
  opacity: 1;
}

.grammage-product-card:hover .paper-block {
  transform:
      rotateX(58deg)
        rotateZ(-10deg)
        translateY(-10px)
        scale(1.04);

  box-shadow:
    14px 21px 36px rgba(0, 0, 0, .40),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset -8px 0 12px rgba(0, 0, 0, .05);
}

.grammage-product-card:hover .grammage-product-visual::after {
  width: 74%;
  opacity: .8;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1180px) {

  .grammage-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grammage-product-card {
    min-height: 370px;
  }
}


/* =========================
   HANDY
========================= */

@media (max-width: 700px) {

  .grammage-product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .grammage-product-card {
    min-height: 350px;
    padding: 22px;
  }

  .grammage-product-visual {
    height: 175px;
  }

  .paper-block {
    width: 140px;
  }

  .grammage-value {
    font-size: 2rem;
  }
}

/* ==========================================
   TEXTE
========================================== */

.grammage-content{

    margin-top:10px;

}

.grammage-content strong{

    display:block;

    font-size:2rem;

    color:var(--red-light);

    font-weight:900;

    margin-bottom:6px;

}

.grammage-content h3{

    margin:0 0 16px;

    font-size:1.05rem;

    color:#fff;

}

.grammage-content p{

    margin:0;

    color:#cfcfcf;

    line-height:1.65;

    font-size:.94rem;

}

/* ==========================================
   STAPELHÖHEN
========================================== */

/* 90g */

.stack-90 .grammage-sheet:nth-child(1){top:0;}
.stack-90 .grammage-sheet:nth-child(2){top:4px;}
.stack-90 .grammage-sheet:nth-child(3){top:8px;}
.stack-90 .grammage-sheet:nth-child(4){top:12px;}
.stack-90 .grammage-sheet:nth-child(5){top:16px;}
.stack-90 .grammage-sheet:nth-child(6){top:20px;}
.stack-90 .grammage-sheet:nth-child(7){top:24px;}
.stack-90 .grammage-sheet:nth-child(8){top:28px;}

/*150g*/

.stack-150 .grammage-sheet:nth-child(1){top:0;}
.stack-150 .grammage-sheet:nth-child(2){top:6px;}
.stack-150 .grammage-sheet:nth-child(3){top:12px;}
.stack-150 .grammage-sheet:nth-child(4){top:18px;}
.stack-150 .grammage-sheet:nth-child(5){top:24px;}
.stack-150 .grammage-sheet:nth-child(6){top:30px;}

/*170g*/

.stack-170 .grammage-sheet:nth-child(1){top:0;}
.stack-170 .grammage-sheet:nth-child(2){top:8px;}
.stack-170 .grammage-sheet:nth-child(3){top:16px;}
.stack-170 .grammage-sheet:nth-child(4){top:24px;}
.stack-170 .grammage-sheet:nth-child(5){top:32px;}

/*200g*/

.stack-200 .grammage-sheet:nth-child(1){top:0;}
.stack-200 .grammage-sheet:nth-child(2){top:10px;}
.stack-200 .grammage-sheet:nth-child(3){top:20px;}
.stack-200 .grammage-sheet:nth-child(4){top:30px;}

/*250g*/

.stack-250 .grammage-sheet:nth-child(1){top:0;}
.stack-250 .grammage-sheet:nth-child(2){top:14px;}
.stack-250 .grammage-sheet:nth-child(3){top:28px;}

/*300g*/

.stack-300 .grammage-sheet:nth-child(1){top:0;}
.stack-300 .grammage-sheet:nth-child(2){top:18px;}

/*350g*/

.stack-350 .grammage-sheet{

    top:12px;

    height:22px;

}
/* ==========================================================
   VERARBEITUNGS-PROZESSLEISTE
   ========================================================== */

.print-process {
  margin: 0 0 40px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns:
    auto minmax(30px,1fr)
    auto minmax(30px,1fr)
    auto minmax(30px,1fr)
    auto minmax(30px,1fr)
    auto;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  background: rgba(18,18,18,.68);
  border: 1px solid var(--print-border);
}

.print-process-step {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.print-process-step span {
  color: var(--red-light);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.print-process-step strong {
  color: rgba(255,255,255,.72);
  font-size: .8rem;
}

.print-process-step.is-active strong {
  color: var(--white);
}

.print-process-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(197,0,26,.22), var(--red-light));
}


/* ==========================================================
   VERARBEITUNG
========================================================== */

.finishing-showcase-section{
    padding-top:120px;
}

.finishing-showcase-list{

    display:flex;
    flex-direction:column;

    gap:45px;

    margin-top:70px;

}


/* ==========================================================
   KARTE
========================================================== */

.finishing-showcase-item{

    display:grid;

    grid-template-columns:
        120px
        420px
        1fr;

    align-items:center;

    gap:45px;

    padding:35px;

    border-radius:30px;

    background:
        linear-gradient(
            145deg,
            rgba(22,22,22,.90),
            rgba(12,12,12,.92)
        );

    border:1px solid rgba(255,255,255,.07);

    transition:.45s ease;

    overflow:hidden;

    position:relative;

}

.finishing-showcase-item:hover{

    transform:translateY(-8px);

    border-color:rgba(255,40,60,.28);

    box-shadow:
        0 25px 70px rgba(0,0,0,.45);

}


/* ==========================================================
   LINKE SPALTE
========================================================== */

.finishing-step{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:18px;

}

.finishing-step-number{

    font-size:4.6rem;

    font-weight:900;

    line-height:1;

    color:#551111;

    transition:.45s;

}

.finishing-step-line{

    width:3px;

    height:80px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    position:relative;

    overflow:hidden;

}

.finishing-step-line::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        var(--red),
        var(--red-light)
    );

    transform:translateY(100%);

    transition:.45s;

}

.finishing-step-count{

    text-align:center;

    line-height:1.4;

    color:rgba(255,255,255,.55);

    font-size:.8rem;

    font-weight:600;

}

.finishing-step-count br{

    display:block;

    margin-bottom:4px;

}

/* ==========================================================
   HOVER LINKS
========================================================== */

.finishing-showcase-item:hover
.finishing-step-number{

    color:var(--red-light);

    transform:scale(1.12);

    text-shadow:

        0 0 15px rgba(255,20,40,.45),

        0 0 35px rgba(255,20,40,.28);

}

.finishing-showcase-item:hover
.finishing-step-line::after{

    transform:translateY(0);

}

.finishing-showcase-item:hover
.finishing-step-count{

    color:#fff;

}


/* ==========================================================
   BILD
========================================================== */

.finishing-showcase-image{

    border-radius:22px;

    overflow:hidden;

    aspect-ratio:16/10;

    background:#111;

}

.finishing-showcase-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s ease;

}

.finishing-showcase-item:hover img{

    transform:scale(1.05);

}


/* ==========================================================
   TEXT
========================================================== */

.finishing-showcase-copy{

    display:flex;

    flex-direction:column;

}

.finishing-category{

    display:inline-block;

    margin-bottom:15px;

    color:var(--red-light);

    font-size:.78rem;

    font-weight:900;

    letter-spacing:.16em;

    text-transform:uppercase;

}

.finishing-showcase-copy h3{

    font-size:2rem;

    margin-bottom:20px;

    line-height:1.1;

}

.finishing-showcase-copy p{

    color:rgba(255,255,255,.72);

    line-height:1.8;

    margin-bottom:22px;

    max-width:640px;

}

.finishing-showcase-copy small{

    color:rgba(255,255,255,.45);

    font-size:.9rem;

    letter-spacing:.03em;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1100px){

.finishing-showcase-item{

grid-template-columns:1fr;

gap:30px;

text-align:center;

}

.finishing-step{

flex-direction:row;

justify-content:center;

}

.finishing-step-line{

width:70px;

height:3px;

}

.finishing-step-line::after{

transform:translateX(-100%);

}

.finishing-showcase-item:hover
.finishing-step-line::after{

transform:translateX(0);

}

.finishing-showcase-copy p{

margin-inline:auto;

}

}


@media(max-width:700px){

.finishing-showcase-item{

padding:24px;

}

.finishing-showcase-copy h3{

font-size:1.55rem;

}

.finishing-step-number{

font-size:3rem;

}

}

/* ==========================================================
   DRUCKPRODUKT-KONFIGURATOR
   KOMPLETT NEU AUFGEBAUT

   Passend zur zuletzt erstellten HTML mit:
   - Produktwahl
   - Standardflyer / Falzflyer
   - Falzart
   - Format
   - Hoch- / Querformat
   - Grammatur
   - Oberfläche
   - Vorderseite / Rückseite / beide Seiten
   - Logo-Upload
   - 3D-Vorschau
   - Zusammenfassung
   - Modal
========================================================== */

/* ==========================================================
   DRUCKPRODUKT-KONFIGURATOR – GRUNDLAYOUT
========================================================== */

.print-editor-section {
  padding-top: 105px !important;
}

.print-editor-section .section-head {
  width: 100%;
  max-width: 900px;
  margin: 0 0 54px;
  text-align: left;
}

.print-configurator {
  min-height: 780px;

  display: grid;
  grid-template-columns: 315px minmax(470px, 1fr) 295px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 30px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(197, 0, 26, .15),
      transparent 34%
    ),
    rgba(12, 12, 12, .97);

  box-shadow:
    0 34px 110px rgba(0, 0, 0, .40);
}


/* ==========================================================
   LINKE SPALTE
========================================================== */

.configurator-controls {
  padding: 24px;

  border-right: 1px solid rgba(255, 255, 255, .08);

  background: rgba(17, 17, 17, .96);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.configurator-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.configurator-step-number {
  width: 40px;
  height: 40px;

  border: 1px solid rgba(255, 48, 70, .34);
  border-radius: 50%;

  color: var(--red-light);

  display: grid;
  place-items: center;

  font-size: .72rem;
  font-weight: 900;
}

.configurator-step strong {
  display: block;
  color: var(--white);
  font-size: .88rem;
}

.configurator-step small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .45);
  font-size: .70rem;
  line-height: 1.35;
}

.configurator-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.configurator-group[hidden] {
  display: none !important;
}

.configurator-group legend,
.configurator-select > span {
  display: block;
  margin-bottom: 9px;

  color: rgba(255, 255, 255, .54);

  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.configurator-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.configurator-view-grid {
  grid-template-columns: 1fr;
}

.configurator-choice {
  position: relative;
}

.configurator-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.configurator-choice span {
  min-height: 42px;
  padding: 0 10px;

  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;

  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .72);

  display: grid;
  place-items: center;

  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;

  cursor: pointer;

  transition: .3s ease;
}

.configurator-choice:hover span {
  transform: translateY(-2px);
  border-color: rgba(255, 48, 70, .36);
}

.configurator-choice input:checked + span {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--red),
      var(--red-light)
    );

  border-color: rgba(255, 60, 80, .78);

  box-shadow:
    0 10px 24px rgba(197, 0, 26, .18);
}

.configurator-select {
  display: block;
}

.configurator-select select {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 13px;

  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;

  appearance: none;

  background:
    linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, .58) 50%
    )
    calc(100% - 18px) 19px / 6px 6px no-repeat,

    linear-gradient(
      135deg,
      rgba(255, 255, 255, .58) 50%,
      transparent 50%
    )
    calc(100% - 13px) 19px / 6px 6px no-repeat,

    rgba(255, 255, 255, .055);

  color: var(--white);

  font: inherit;
  font-size: .78rem;
  font-weight: 750;

  cursor: pointer;
}

.configurator-select option {
  color: #111;
}

.configurator-upload {
  position: relative;
}

.configurator-upload input {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  cursor: pointer;
}

.configurator-upload span {
  min-height: 46px;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--red),
      var(--red-light)
    );

  color: var(--white);

  display: grid;
  place-items: center;

  font-size: .80rem;
  font-weight: 900;
}

.configurator-logo-info {
  padding: 15px;

  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;

  background: rgba(255, 255, 255, .035);

  display: grid;
  gap: 5px;
}

.configurator-logo-info > span {
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
}

.configurator-logo-info strong {
  color: var(--red-light);
  font-size: .82rem;
}

.configurator-logo-info small {
  color: rgba(255, 255, 255, .42);
  font-size: .66rem;
  line-height: 1.45;
}


/* Produktvariante und Falzart */

#productVariantGroup,
#foldTypeGroup {
  display: none;
}

.print-configurator.product-is-flyer #productVariantGroup {
  display: block;
}

.print-configurator.product-is-flyer.variant-is-falz #foldTypeGroup {
  display: block;
}

#productVariantGroup[hidden],
#foldTypeGroup[hidden] {
  display: none !important;
}


/* Ausrichtung */

#orientationGroup {
  display: block;
}

.print-configurator.product-is-broschuere #orientationGroup,
.print-configurator.product-is-plakat #orientationGroup {
  display: none;
}


/* ==========================================================
   RECHTE SPALTE
========================================================== */

.configurator-summary {
  padding: 28px 24px;

  border-left: 1px solid rgba(255, 255, 255, .08);

  background:
    linear-gradient(
      180deg,
      rgba(55, 6, 12, .24),
      rgba(17, 17, 17, .95)
    );

  display: flex;
  flex-direction: column;
}

.configurator-summary h3 {
  margin: 8px 0 25px;
  color: var(--white);
  font-size: 1.45rem;
}

.configurator-summary-list {
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 17px;

  background: rgba(255, 255, 255, .035);

  display: grid;
}

.configurator-summary-list > div {
  min-height: 64px;
  padding: 13px 15px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.configurator-summary-list > div:last-child {
  border-bottom: 0;
}

.configurator-summary-list > div[hidden] {
  display: none !important;
}

.configurator-summary-list span {
  color: rgba(255, 255, 255, .44);
  font-size: .68rem;
}

.configurator-summary-list strong {
  color: var(--white);
  font-size: .80rem;
}

.configurator-summary-note {
  margin-top: auto;
  padding-top: 28px;

  color: rgba(255, 255, 255, .54);
}

.configurator-summary-note strong {
  color: var(--red-light);
  font-size: .78rem;
}

.configurator-summary-note p {
  margin: 8px 0 0;
  font-size: .72rem;
  line-height: 1.55;
}


/* ==========================================================
   GESAMT-RESPONSIVE
========================================================== */

@media (max-width: 1180px) {

  .print-configurator {
    grid-template-columns: 295px minmax(0, 1fr);
  }

  .configurator-summary {
    grid-column: 1 / -1;

    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (max-width: 760px) {

  .print-configurator {
    grid-template-columns: 1fr;
  }

  .configurator-controls {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .configurator-summary {
    border-left: 0;
  }
}

@media (max-width: 430px) {

  .configurator-choice-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   KONFIGURATOR – VORSCHAU KOMPLETT NEU
========================================================== */


/* ==========================================================
   01 — MITTLERE VORSCHAU-SPALTE
========================================================== */

.configurator-preview {
  min-width: 0;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .022) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, .022) 1px,
      transparent 1px
    ),
    rgba(12, 12, 12, .96);

  background-size: 24px 24px;
}


/* ==========================================================
   02 — VORSCHAU-KOPF
========================================================== */

.configurator-preview-head {
  min-height: 76px;
  padding: 0 22px;

  border-bottom: 1px solid rgba(255, 255, 255, .08);

  background: rgba(16, 16, 16, .97);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.configurator-preview-head > div {
  min-width: 0;
}

.configurator-preview-head span {
  display: block;

  color: var(--red-light);

  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.configurator-preview-head strong {
  display: block;

  margin-top: 5px;

  overflow: hidden;

  color: var(--white);

  font-size: .92rem;
  line-height: 1.3;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.configurator-expand {
  flex: 0 0 auto;

  min-height: 40px;
  padding: 0 15px;

  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;

  background: rgba(255, 255, 255, .06);
  color: var(--white);

  font-size: .74rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

.configurator-expand:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 48, 70, .42);

  background: rgba(197, 0, 26, .76);
}


/* ==========================================================
   03 — VORSCHAU-BÜHNE
========================================================== */

.configurator-stage {
  position: relative;

  flex: 1;

  min-height: 550px;
  padding: 55px 35px;

  overflow: hidden;

  border: 0;
  background: transparent;

  display: grid;
  place-items: center;

  perspective: 1400px;

  cursor: grab;
  touch-action: none;
  user-select: none;
}

.configurator-stage::before {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 14%;

  width: min(60%, 420px);
  height: 44px;

  border-radius: 50%;

  background: rgba(0, 0, 0, .42);

  filter: blur(22px);

  transform: translateX(-50%);

  pointer-events: none;
}

.configurator-stage.is-dragging {
  cursor: grabbing;
}


/* ==========================================================
   04 — PRODUKT-GRUNDELEMENT
========================================================== */

.editor-product-object {
  --object-width: 255px;

  --portrait-width: 148;
  --portrait-height: 210;

  --paper-depth: 6px;
  --surface-shine: .22;

  position: relative;
  z-index: 2;

  width: var(--object-width);

  height: auto !important;
  min-height: 0;

  aspect-ratio:
    var(--portrait-width) /
    var(--portrait-height);

  transform-style: preserve-3d;
  transform-origin: center;

  transform:
    rotateX(3deg)
    rotateY(-8deg)
    rotateZ(1deg)
    scale(1);

  filter:
    drop-shadow(0 36px 35px rgba(0, 0, 0, .46));

  transition:
    width .42s ease,
    aspect-ratio .42s ease,
    filter .35s ease;
}


/* ==========================================================
   05 — FORMATE
========================================================== */

.editor-product-object.format-a6 {
  --object-width: 220px;

  --portrait-width: 105;
  --portrait-height: 148;
}

.editor-product-object.format-a5 {
  --object-width: 255px;

  --portrait-width: 148;
  --portrait-height: 210;
}

.editor-product-object.format-a4 {
  --object-width: 295px;

  --portrait-width: 210;
  --portrait-height: 297;
}

.editor-product-object.format-a3 {
  --object-width: 330px;

  --portrait-width: 297;
  --portrait-height: 420;
}

.editor-product-object.format-a2 {
  --object-width: 350px;

  --portrait-width: 420;
  --portrait-height: 594;
}

.editor-product-object.format-a1 {
  --object-width: 370px;

  --portrait-width: 594;
  --portrait-height: 841;
}

.editor-product-object.format-business-card {
  --object-width: 330px;

  --portrait-width: 55;
  --portrait-height: 85;
}


/* ==========================================================
   06 — HOCHFORMAT UND QUERFORMAT
========================================================== */

.editor-product-object.orientation-portrait {
  aspect-ratio:
    var(--portrait-width) /
    var(--portrait-height) !important;
}

.editor-product-object.orientation-landscape {
  aspect-ratio:
    var(--portrait-height) /
    var(--portrait-width) !important;
}


/* Visitenkarte Hochformat */

.editor-product-object.product-visitenkarte.orientation-portrait {
  --object-width: 220px;

  aspect-ratio: 55 / 85 !important;
}


/* Visitenkarte Querformat */

.editor-product-object.product-visitenkarte.orientation-landscape {
  --object-width: 330px;

  aspect-ratio: 85 / 55 !important;
}


/* Broschüre immer Hochformat */

.editor-product-object.product-broschuere {
  aspect-ratio:
    var(--portrait-width) /
    var(--portrait-height) !important;
}


/* Plakat immer Hochformat */

.editor-product-object.product-plakat {
  aspect-ratio:
    var(--portrait-width) /
    var(--portrait-height) !important;
}


/* ==========================================================
   07 — PRODUKTFLÄCHEN
========================================================== */

.editor-product-face {
  position: absolute;
  inset: 0;

  overflow: hidden;

  border-radius: 4px;

  backface-visibility: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .99),
      rgba(235, 235, 235, .99)
    );

  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.editor-product-front,
.editor-product-back,
.editor-product-inside {
  width: 100%;
  height: 100%;
}

.editor-product-front::after,
.editor-product-back::after,
.editor-product-inside::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 4;

  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(
        255,
        255,
        255,
        var(--surface-shine)
      ) 48%,
      transparent 72%
    );
}


/* ==========================================================
   08 — PAPIERKANTE
========================================================== */

.editor-product-edge {
  position: absolute;
  top: 5px;
  right: calc(var(--paper-depth) * -1);

  width: var(--paper-depth);
  height: calc(100% - 10px);

  border-radius: 0 2px 2px 0;

  background:
    repeating-linear-gradient(
      to bottom,
      #d5d5d5 0,
      #d5d5d5 2px,
      #f7f7f7 3px,
      #f7f7f7 4px
    );

  transform:
    rotateY(90deg);

  transform-origin: left;

  pointer-events: none;
}


/* ==========================================================
   09 — PAPIERSTÄRKEN
========================================================== */

.editor-product-object.paper-90 {
  --paper-depth: 3px;
}

.editor-product-object.paper-150 {
  --paper-depth: 5px;
}

.editor-product-object.paper-170 {
  --paper-depth: 6px;
}

.editor-product-object.paper-200 {
  --paper-depth: 8px;
}

.editor-product-object.paper-250 {
  --paper-depth: 10px;
}

.editor-product-object.paper-300 {
  --paper-depth: 13px;
}

.editor-product-object.paper-350 {
  --paper-depth: 16px;
}


/* ==========================================================
   10 — PAPIEROBERFLÄCHEN
========================================================== */

.editor-product-object.surface-matt {
  --surface-shine: .045;
}

.editor-product-object.surface-glossy {
  --surface-shine: .32;
}

.editor-product-object.surface-uncoated {
  --surface-shine: 0;
}

.editor-product-object.surface-uncoated
.editor-product-face {
  background:
    linear-gradient(
      145deg,
      #f4f0e6,
      #ded8ca
    );
}


/* ==========================================================
   11 — VORDERSEITE / RÜCKSEITE / BEIDE
========================================================== */

.editor-product-back,
.editor-product-inside {
  display: none;

  color: rgba(0, 0, 0, .32);

  place-items: center;

  font-size: 1rem;
  font-weight: 800;
}


/* Vorderseite */

.editor-product-object.view-front
.editor-product-front {
  display: block;
}

.editor-product-object.view-front
.editor-product-back,
.editor-product-object.view-front
.editor-product-inside {
  display: none;
}


/* Rückseite */

.editor-product-object.view-back
.editor-product-front {
  display: none;
}

.editor-product-object.view-back
.editor-product-back {
  display: grid;
}

.editor-product-object.view-back
.editor-product-inside {
  display: none;
}


/* Beide Seiten */

.editor-product-object.view-both
.editor-product-front {
  display: block;
}

.editor-product-object.view-both
.editor-product-back,
.editor-product-object.view-both
.editor-product-inside {
  display: none;
}

.editor-product-object.view-both::after {
  content: "";

  position: absolute;
  inset: 9px -12px -9px 12px;
  z-index: -1;

  border-radius: 4px;

  background:
    linear-gradient(
      145deg,
      #ececec,
      #cecece
    );

  box-shadow:
    0 15px 28px rgba(0, 0, 0, .23);

  transform:
    translateZ(-9px);
}


/* ==========================================================
   12 — FALZFLYER
========================================================== */

.editor-product-object.product-flyer.variant-falz {
  --object-width: 390px;

  aspect-ratio: 3 / 1.35 !important;
}


/* Falzflyer bleibt aufgeklappt breit */

.editor-product-object.product-flyer.variant-falz.orientation-portrait,
.editor-product-object.product-flyer.variant-falz.orientation-landscape {
  aspect-ratio: 3 / 1.35 !important;
}


/* Dreigeteilte Fläche */

.editor-product-object.variant-falz
.editor-product-front {
  background:
    linear-gradient(
      90deg,

      #fafafa 0%,
      #ededed 33.15%,

      #fafafa 33.2%,
      #e6e6e6 66.45%,

      #fbfbfb 66.5%,
      #e9e9e9 100%
    );
}


/* Falzlinien */

.editor-fold-lines {
  position: absolute;
  inset: 0;
  z-index: 8;

  display: none;

  pointer-events: none;
}

.editor-product-object.variant-falz
.editor-fold-lines {
  display: block;
}

.editor-fold-lines span {
  position: absolute;
  top: 0;
  bottom: 0;

  width: 2px;

  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, .34) 10%,
      rgba(255, 255, 255, .40) 50%,
      rgba(0, 0, 0, .30) 90%,
      transparent 100%
    );

  box-shadow:
    1px 0 0 rgba(255, 255, 255, .16),
    -1px 0 0 rgba(0, 0, 0, .12);
}

.editor-fold-lines span:first-child {
  left: 33.333%;
}

.editor-fold-lines span:last-child {
  left: 66.666%;
}


/* Wickelfalz */

.editor-product-object.fold-wickel
.editor-fold-lines span:first-child {
  left: 32%;
}

.editor-product-object.fold-wickel
.editor-fold-lines span:last-child {
  left: 65%;
}


/* Zickzackfalz */

.editor-product-object.fold-zickzack
.editor-fold-lines span:first-child {
  left: 33.333%;
}

.editor-product-object.fold-zickzack
.editor-fold-lines span:last-child {
  left: 66.666%;
}


/* Altarfalz */

.editor-product-object.fold-altar
.editor-fold-lines span:first-child {
  left: 25%;
}

.editor-product-object.fold-altar
.editor-fold-lines span:last-child {
  left: 75%;
}


/* ==========================================================
   13 — LOGO UND PLATZHALTER
========================================================== */

.editor-placeholder {
  position: absolute;
  inset: 12%;

  padding: 20px;

  border: 1px dashed rgba(197, 0, 26, .40);

  color: rgba(0, 0, 0, .44);
  text-align: center;

  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
}

.editor-placeholder-symbol {
  color: var(--red);

  font-size: 2.3rem;
}

.editor-placeholder strong {
  max-width: 160px;

  font-size: .84rem;
}

.editor-placeholder small {
  max-width: 160px;

  font-size: .68rem;
  line-height: 1.45;
}

.editor-uploaded-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;

  width: 45%;
  max-width: 80%;
  max-height: 80%;

  object-fit: contain;

  transform:
    translate(-50%, -50%)
    scale(1);

  transform-origin: center;

  cursor: grab;
  touch-action: none;
  user-select: none;

  display: none;
}

.editor-uploaded-logo.is-visible {
  display: block;
}


/* ==========================================================
   14 — WERKZEUGLEISTE
========================================================== */

.configurator-tools {
  min-height: 74px;
  padding: 12px 18px;

  border-top: 1px solid rgba(255, 255, 255, .08);

  background: rgba(16, 16, 16, .97);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.configurator-tools button {
  min-height: 40px;
  padding: 0 13px;

  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 11px;

  background: rgba(255, 255, 255, .06);
  color: var(--white);

  font-size: .74rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

.configurator-tools button:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 48, 70, .42);

  background: rgba(197, 0, 26, .76);
}

#editorZoomValue {
  min-width: 66px;

  color: rgba(255, 255, 255, .72);

  font-size: .76rem;
  font-weight: 800;
  text-align: center;
}


/* ==========================================================
   15 — MODAL / GROSSANSICHT
========================================================== */

.editor-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  padding: 28px;

  display: none;
  place-items: center;
}

.editor-modal.is-open {
  display: grid;
}

.editor-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, .89);

  backdrop-filter: blur(12px);
}

.editor-modal-content {
  position: relative;
  z-index: 2;

  width: min(920px, 94vw);
  min-height: min(730px, 84vh);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, .05),
      transparent 67%
    ),
    #101010;

  display: grid;
  place-items: center;

  box-shadow:
    0 42px 135px rgba(0, 0, 0, .70);
}

#editorModalPreview {
  display: grid;
  place-items: center;

  transform: scale(1.42);
}

.editor-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 3;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;

  background: rgba(17, 17, 17, .94);
  color: var(--white);

  font-size: 1.8rem;

  cursor: pointer;
}


/* ==========================================================
   16 — TABLET
========================================================== */

@media (max-width: 1180px) {

  .configurator-stage {
    min-height: 500px;
  }

  .editor-product-object.format-a1,
  .editor-product-object.format-a2,
  .editor-product-object.format-a3 {
    --object-width: 300px;
  }

}


/* ==========================================================
   17 — HANDY
========================================================== */

@media (max-width: 760px) {

  .configurator-preview-head {
    padding: 14px 18px;
  }

  .configurator-preview-head strong {
    white-space: normal;
  }

  .configurator-stage {
    min-height: 430px;
    padding: 35px 18px;
  }

  .editor-product-object {
    --object-width: 210px;
  }

  .editor-product-object.product-flyer.variant-falz {
    --object-width: 285px;
  }

  .editor-product-object.product-visitenkarte.orientation-portrait {
    --object-width: 180px;
  }

  .editor-product-object.product-visitenkarte.orientation-landscape {
    --object-width: 270px;
  }

  #editorModalPreview {
    transform: scale(1.04);
  }

}


/* ==========================================================
   18 — KLEINE HANDYS
========================================================== */

@media (max-width: 430px) {

  .configurator-stage {
    min-height: 370px;
  }

  .editor-product-object {
    --object-width: 180px;
  }

  .editor-product-object.product-flyer.variant-falz {
    --object-width: 225px;
  }

  .editor-product-object.product-visitenkarte.orientation-portrait {
    --object-width: 145px;
  }

  .editor-product-object.product-visitenkarte.orientation-landscape {
    --object-width: 225px;
  }

  .configurator-tools button {
    flex: 1 1 42%;
  }

}

/* ==========================================================
   INDEX-GRUNDGERÜST – RESPONSIVE FEINSCHLIFF
========================================================== */

@media (max-width: 980px) {
  .print-products-section .section-head h2 {
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 700px) {
  .print-page .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .druckerei-hero-inner {
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
  }

  .print-page .section-head,
  .print-page .section-head.compact,
  .print-products-section .section-head,
  .workflow .section-head,
  .print-benefits-section .section-head,
  .print-editor-section .section-head {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
}
